import 'react-native-gesture-handler';
import * as React from 'react';
import { Component } from 'react'
import { createStackNavigator } from '@react-navigation/stack';
import { NavigationContainer } from '@react-navigation/native';
import { Provider } from 'react-redux';
import store from './store/index'

import './common/global';
import Mine from './Mine/Mine';
import Mymessage from './Mine/Mymessage';
import Change from './Mine/Change';
import Collect from './Mine/Collect';
import Publish from './Mine/Publish';
import Memorandum from './Mine/Memorandum';
import Bianqian from './Mine/Bianqian';
import Set from './Mine/Set';
import Calendar from './Mine/Calendar';
import Account from './Mine/Account';
import Output from './Mine/Output';
import Input from './Mine/Input';
import Game from './Mine/Game';
import JieqinContent from './Mine/JieqinContent';
import DumenContent from './Mine/DumenContent';
import JiehunContent from './Mine/JiehunContent';
import Seat from './Mine/Seat';
import Pledge from './Mine/Pledge';
import Plan from './Mine/Plan';
import Photo from './Mine/Photo';

const RootStack = createStackNavigator();

class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <NavigationContainer>
          <RootStack.Navigator>
            <RootStack.Screen options={{ headerShown: false }} name='Mine' component={Mine} />
            <RootStack.Screen options={{ headerShown: false }} name='Mymessage' component={Mymessage} />
            <RootStack.Screen options={{ headerShown: false }} name='Change' component={Change} />
            <RootStack.Screen options={{ headerShown: false }} name='Collect' component={Collect} />
            <RootStack.Screen options={{ headerShown: false }} name='Publish' component={Publish} />
            <RootStack.Screen options={{ headerShown: false }} name='Memorandum' component={Memorandum} />
            <RootStack.Screen options={{ headerShown: false }} name='Bianqian' component={Bianqian} />
            <RootStack.Screen options={{ headerShown: false }} name='Set' component={Set} />
            <RootStack.Screen options={{ headerShown: false }} name='Calendar' component={Calendar} />
            <RootStack.Screen options={{ headerShown: false }} name='Account' component={Account} />
            <RootStack.Screen options={{ headerShown: false }} name='Output' component={Output} />
            <RootStack.Screen options={{ headerShown: false }} name='Input' component={Input} />
            <RootStack.Screen options={{ headerShown: false }} name='Game' component={Game} />
            <RootStack.Screen options={{ headerShown: false }} name='JieqinContent' component={JieqinContent} />
            <RootStack.Screen options={{ headerShown: false }} name='DumenContent' component={DumenContent} />
            <RootStack.Screen options={{ headerShown: false }} name='JiehunContent' component={JiehunContent} />
            <RootStack.Screen options={{ headerShown: false }} name='Seat' component={Seat} />
            <RootStack.Screen options={{ headerShown: false }} name='Pledge' component={Pledge} />
            <RootStack.Screen options={{ headerShown: false }} name='Plan' component={Plan} />
            <RootStack.Screen options={{ headerShown: false }} name='Photo' component={Photo} />

          </RootStack.Navigator>
        </NavigationContainer>
      </Provider>




    )
  }
}



export default App;



